namespace QLGT.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class tbl_TacGia
    {
        public tbl_TacGia()
        {
            tbl_GiaoTrinh = new HashSet<tbl_GiaoTrinh>();
        }

        [Key]
        public int MaTacGia { get; set; }

        [Required]
        [StringLength(50)]
        public string TenTacGia { get; set; }

        public int? MaHocHam { get; set; }

        public int? MaHocVi { get; set; }

        public int? MaChucVu { get; set; }

        [StringLength(50)]
        public string GhiChu { get; set; }

        public virtual tbl_ChucVu tbl_ChucVu { get; set; }

        public virtual ICollection<tbl_GiaoTrinh> tbl_GiaoTrinh { get; set; }

        public virtual tbl_HocHam tbl_HocHam { get; set; }

        public virtual tbl_HocVi tbl_HocVi { get; set; }
    }
}
